TYPE=TRIGGERS
triggers='CREATE DEFINER=`root`@`%` TRIGGER `TrgUpdateStockMasuk` AFTER INSERT ON `stock_masuk` FOR EACH ROW update stock_akhir set QtyMasuk = QtyMasuk + New.Qty,\nQtyAkhir = (QtyAwal + QtyMasuk + QtyAdjust) - QtyKeluar\nwhere Tanggal=New.Tanggal AND IdStock=New.IdStock'
sql_modes=0
definers='root@%'
client_cs_names='utf8'
connection_cl_names='utf8_general_ci'
db_cl_names='latin1_swedish_ci'
